﻿using CILADA.TestAssembly;
using CILADA.TestAssemblyThree;

namespace CILADA.TestAssemblyTwo
{
    class ConstructorWithValueTypeParam1
    {
        public ConstructorWithValueTypeParam1()
        {
            Cat cat = new Cat();
            cat.Enemies.Add(new Dog("the dog", Toys.Frisbee));

            Family f = new Family( new Home(new Address()) );
        }
    }

    class ConstructorWithValueTypeParam2
    {
        public ConstructorWithValueTypeParam2()
        {
            Cat cat = new Cat();
            Dog dog = new Dog("the dog", Toys.Frisbee);
            cat.Enemies.Add(dog);
        }
    }

    class ConstructorWithValueTypeParam3
    {
        public ConstructorWithValueTypeParam3()
        {
            Cat cat = new Cat();
            Toys toy = Toys.Frisbee;
            Dog dog = new Dog("the dog", toy);
            cat.Enemies.Add(dog);
        }
    }

    class ConstructorWithValueTypeParam4
    {
        public ConstructorWithValueTypeParam4()
        {
            Family f = new Family(new Home(new Address()));
        }
    }

    class ConstructorWithValueTypeParam5
    {
        public ConstructorWithValueTypeParam5()
        {
            Family f = new Family(new Home(new Address()));
        }
    }
}
